var express  = require('express')

var app = express()

app.use(function (req, res, next) {
    console.log('first middleWare')
    next()
})


app.use(function (req, res, next) {
    console.log('second middleWare')
    next()
})

app.get('/', function (req, res, next) {
    res.send('ok')
})

app.listen(3000)
